import fetch from 'common/src/utils/fetch'

const prefix = "/api/arrangementservice";
/**
 * 查询标签相关信息
 */
export function getTagList(calendarId,tagTypeId) {
    return fetch({
        url: prefix+`/teachingClassTag/getTagList?calendarId=`+calendarId+'&tagTypeId='+tagTypeId,
        method: 'get',
    });
}
/**
 * 修改标签值
 */
export function updateTag(data) {
    return fetch({
        url: prefix+`/teachingClassTag/updateTag`,
        method: 'post',
        data
    });
}